include mixin
html
    if(!item)
        -item = {}
    head
        title 外链编辑
        include ./cssAndjs/head
    body
        +modal
        .container(style={padding:40})
            .row
                .col-md-4.col-md-offset-4
                    form(role='.form')
                        .form-group
                            label.control-label(for='url' value=item.url) url
                            input.form-control(id='url', name='url', value=item.url)
                        .form-group
                            label.control-label(for='createTime') 创建链接时间
                            +dateInput(item.createTime, 'createTime')
                        .form-group
                            label.control-label(for='status') 状态
                            input.form-control(id='status', name='status', value=item.status)
                    button#submit.btn.btn-default 提交

        include ./cssAndjs/body
        +script('/js/url.js')